package com.xiaofu.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户请求对象", description = "用户注册请求对象")
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称", example = "Anna")
    private String name;

    @ApiModelProperty(value = "密码", example = "123456")
    private String pwd;

    @ApiModelProperty(value = "头像", example = "https://66ll.oss-cn-shenzhen.aliyuncs.com/user/02024/07/10/378881a4ed744746a2f3229cde004d83.jpg")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value = "用户个性签名", example = "人生需要动态规划,学习需要动态算法")
    private String slogan;

    @ApiModelProperty(value = "0表示女,1表示男", example = "1")
    private String sex;

    @ApiModelProperty(value = "账户,邮箱或者手机号", example = "15455206@qq.com")
    private String account;

    @ApiModelProperty(value = "验证码", example = "233323")
    private String code;

}
